/*
 * @Author: zhangweinan
 * @Date: 2023-07-27 11:09:11
 * @LastEditors: hhh
 * @LastEditTime: 2024-01-18 18:33:38
 * @Description: file content
 * @FilePath: \cty_admin\src\views\deviceManage\myDevice\config\search.config.js
 */
import { ONLINE_STATUS, ONUSE_STATUS } from "@/config/enum";
export const searchFormConfig = {
  labelWidth: "100px",
  itemLayout: {
    padding: "10px 30px",
  },
  colLayout: { span: 4 },
  alwaysShow:true,
  formItems: [
    {
      field: "queryContent",
      type: "input",
      label: "搜索内容",
      placeholder: "请输入设备编号、设备名称、备注内容",
    },
    {
      field: "groupName",
      type: "input",
      label: "分组",
      placeholder: "请输入分组",
    },
    {
      field: "onlineStatus",
      type: "select",
      label: "在线状态",
      placeholder: "请选择在线状态",
      options: ONLINE_STATUS,
    },
    {
      field: "onUseCode",
      type: "select",
      label: "是否安装",
      placeholder: "请选择是否安装",
      options: ONUSE_STATUS,
    },
  ],
};
